//
// Created by LiuYou on 2020/8/7.
//

#ifndef CHAPTER02_OBJECT_H
#define CHAPTER02_OBJECT_H


#include <ostream>

namespace ly {
    class Object {
    public:
        virtual std::string toString() const {
//            return std::__cxx11::string();
            return std::string();
        }

        friend std::ostream& operator<<(std::ostream& os, const Object& object) {
            return os;
        }

        virtual ~Object() = default;

        Object() = default;

    };

}


#endif //CHAPTER02_OBJECT_H
